package cn.lili.modules.wechat.fallback;

import cn.hutool.json.JSONObject;
import cn.lili.common.exception.ServiceException;
import cn.lili.modules.goods.entity.dos.Commodity;
import cn.lili.modules.goods.entity.dos.Studio;
import cn.lili.modules.wechat.client.WechatClient;
import cn.lili.modules.wechat.entity.params.WechatParams;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author: ftyy
 * @date: 2022-01-17 11:38
 * @description: 微信Fallback
 */
public class WechatFallback implements WechatClient {
    @Override
    public String cgiAccessToken(String clientTypeEnum) {
        throw new ServiceException();
    }

    @Override
    public void removeAccessToken(String clientTypeEnum) {
        throw new ServiceException();
    }

    @Override
    public JSONObject addGoods(Commodity commodity) {
        throw new ServiceException();
    }

    @Override
    public JSONObject deleteGoods(String goodsId) {
        throw new ServiceException();
    }

    @Override
    public JSONObject getGoodsWareHouse(List<String> goodsIdList) {
        throw new ServiceException();
    }

    @Override
    public Boolean goodsDeleteInRoom(WechatParams wechatParams) {
        throw new ServiceException();
    }

    @Override
    public Map<String, String> create(Studio studio) {
        throw new ServiceException();
    }

    @Override
    public void editRoom(Studio studio) {
        throw new ServiceException();
    }

    @Override
    public String getLiveInfo(Integer roomId) {
        throw new ServiceException();
    }

    @Override
    public Boolean pushGoods(WechatParams wechatParams) {
        throw new ServiceException();
    }

}
